﻿<Window x:Class="frmEditPerson"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Personal Details" Height="451" Width="602" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <GroupBox Header="Personal" Margin="4,5,279,0" Name="GroupBox1" Height="209" VerticalAlignment="Top">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="0,3,0,0" Name="Label6" VerticalAlignment="Top" Width="53">Surname</Label>
                <Label Height="21" HorizontalAlignment="Left" Margin="-1,31,0,0" Name="Label7" VerticalAlignment="Top" Width="62">First Name</Label>
                <TextBox BorderBrush="Black" Height="21" Margin="93,2,2,0" Name="txtSurname" VerticalAlignment="Top" TabIndex="0" />
                <Label HorizontalAlignment="Left" Margin="-2,87,0,82" Name="Label1" Width="35" Height="24">DOB</Label>
                <!--<TextBox BorderBrush="Black" Margin="93,86,77,83" Name="txtDOB" />-->
                <my:DatePicker BorderBrush="Black" Margin="93,86,77,83" Name="txtDOB"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" TabIndex="3" />
                <ComboBox BorderBrush="Black" Height="20.8" Margin="93,58,108,0" Name="drpTitle" VerticalAlignment="Top" TabIndex="2" />
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-2,60,0,0" Name="Label2" VerticalAlignment="Top" Width="34">Title</Label>
                <TextBox BorderBrush="Black" Height="21" Margin="93,31,2,0" Name="txtFirstName" VerticalAlignment="Top" TabIndex="1" />
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,27" Name="lblWhereHeard" VerticalAlignment="Bottom" Width="79">Where Heared</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="92,0,2,29" Name="drpWhereHeard" VerticalAlignment="Bottom" TabIndex="5" />
                <ComboBox BorderBrush="Black" Height="21" Margin="93,0,2,56" Name="drpAccMan" Visibility="Hidden" VerticalAlignment="Bottom" TabIndex="4" />
                <Label Height="24" HorizontalAlignment="Left" Margin="-2,0,0,54" Name="Label9" Visibility="Hidden" VerticalAlignment="Bottom" Width="79">Acc Manager</Label>
                <Button HorizontalAlignment="Right" Margin="0,83,41,83" Name="btnCal1" Width="30" Visibility="Hidden">--</Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Employment" Height="209" Margin="0,5,3,0" Name="GroupBox2" VerticalAlignment="Top" HorizontalAlignment="Right" Width="272">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="-4,29,0,0" Name="Label3" VerticalAlignment="Top" Width="53">Job Title</Label>
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-4,60,0,0" Name="Label4" VerticalAlignment="Top" Width="72">Qualification</Label>
                <TextBox BorderBrush="Black" Height="20" Margin="71,33,1,0" Name="txtJobTitle" VerticalAlignment="Top" TabIndex="12" />
                <Label Height="22" HorizontalAlignment="Left" Margin="-4,0,0,6" Name="lblSkillOcc" VerticalAlignment="Bottom" Width="65">Occupation</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="69,0,3,4" Name="drpSkillOcc" VerticalAlignment="Bottom" TabIndex="16" />
                <Label Height="22" HorizontalAlignment="Left" Margin="-3,0,0,34" Name="lblSkillCat" VerticalAlignment="Bottom" Width="64">Category</Label>
                <ComboBox  BorderBrush="Black" Height="20" Margin="69,0,3,34" Name="drpSkillCat" VerticalAlignment="Bottom" TabIndex="15" />
                <ComboBox BorderBrush="Black" Height="21" Margin="71,61,1,0" Name="drpQual" VerticalAlignment="Top" TabIndex="13" />
                <Label Height="22" Margin="146,0,106,4" Name="lblRelationship" VerticalAlignment="Bottom">Relationship</Label>
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-4,2,0,0" Name="lblRole" VerticalAlignment="Top" Width="62">Role</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="0,3,1,0" Name="drpRole" VerticalAlignment="Top" HorizontalAlignment="Right" Width="188" TabIndex="11" />
                <Label HorizontalAlignment="Left" Margin="-3,86,0,82" Name="Label10" Width="53">Salary</Label>
                <TextBox BorderBrush="Black" Margin="71,90,1,79" Name="txtSalary" TabIndex="14" />
                <CheckBox Height="16" Margin="71,0,69,57" Name="chkSkilled" VerticalAlignment="Bottom">Skilled Occupation</CheckBox>
            </Grid>
        </GroupBox>
        <GroupBox Header="Status" Height="187" Margin="4,0,279,6" Name="GroupBox4" VerticalAlignment="Bottom" Width="297">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,33,0,0" Name="Label14" VerticalAlignment="Top" Width="64">Destination</Label>
                <Label Height="22" HorizontalAlignment="Left" Margin="-2,0,0,3" Name="Label16" VerticalAlignment="Bottom" Width="66">Expiry Date</Label>
                <!--<TextBox BorderBrush="Black" Height="19.8" Margin="94,0,0,3" Name="txtVisaExpiry" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="117" />-->
                <my:DatePicker BorderBrush="Black" Height="19.8" Margin="94,0,0,3" Name="txtVisaExpiry" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="117"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" TabIndex="10" />
                <Button Height="23" HorizontalAlignment="Left" Margin="90,-1,0,0" Name="btnSA" VerticalAlignment="Top" Width="30" Tag="77">SA</Button>
                <Button Height="22.8" Margin="129,-1,128,0" Name="btnNZ" VerticalAlignment="Top" Tag="49">NZ</Button>
                <Button Height="23" Margin="0,-1,88,0" Name="btnAU" VerticalAlignment="Top" HorizontalAlignment="Right" Width="28" Tag="2">AU</Button>
                <Button Height="22.8" HorizontalAlignment="Left" Margin="207,-1,0,0" Name="btnUK" VerticalAlignment="Top" Width="32" Tag="71">UK</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,-1,10,0" Name="btnCA" VerticalAlignment="Top" Width="28" Tag="9">CA</Button>
                <ComboBox BorderBrush="Black" Height="21" Margin="93,31,1,0" Name="drpDest" VerticalAlignment="Top" TabIndex="6" />
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,60,0,0" Name="Label15" VerticalAlignment="Top" Width="64">Nationality</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="94,58,2,0" Name="drpNat" VerticalAlignment="Top" TabIndex="7" />
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-2,0,0,59" Name="Label17" VerticalAlignment="Bottom" Width="64">Resident</Label>
                <ComboBox BorderBrush="Black" Height="20.8" Margin="94,0,2,61" Name="drpRes" VerticalAlignment="Bottom" TabIndex="8" />
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,32" Name="Label18" VerticalAlignment="Bottom" Width="64">UK Visa</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="94,0,2,34" Name="drpUKVisa" VerticalAlignment="Bottom" TabIndex="9" />
                <Button Height="22.723" HorizontalAlignment="Right" Margin="0,0,38,2" Name="btnCal2" VerticalAlignment="Bottom" Width="30" Visibility="Hidden">--</Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Passport" Height="75" Margin="0,0,3,118" Name="grpPassport" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="272">
            <Grid>
                <Label Height="23" HorizontalAlignment="Left" Margin="-4,4,0,0" Name="Label19" VerticalAlignment="Top" Width="70">Passport No</Label>
                <TextBox BorderBrush="Black" Height="22" Margin="69,3,3,0" Name="txtPassportNo" VerticalAlignment="Top" TabIndex="17" />
                <!--<TextBox BorderBrush="Black" Height="22" Margin="69,0,71,0" Name="txtPassportExpiry" VerticalAlignment="Bottom" Visibility="Hidden" />-->
                <my:DatePicker BorderBrush="Black" Height="22" Margin="69,0,71,0" Name="txtPassportExpiry" VerticalAlignment="Bottom" Visibility="Hidden"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" TabIndex="18" />

                <Label Height="23" HorizontalAlignment="Left" Margin="-2,0,0,1" Name="Label20" VerticalAlignment="Bottom" Width="46">Expires</Label>
                <Button HorizontalAlignment="Right" Margin="0,0,35,1" Name="btnCal3" Width="30" Height="22.723" VerticalAlignment="Bottom" Visibility="Hidden">--</Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Client Login" Height="54" Margin="0,0,3,58" Name="grpDependentOf" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="272">
            <Grid>
                <RadioButton HorizontalAlignment="Right" Margin="0,2,13,8" Name="RadioButton2" Width="0">Initiated</RadioButton>
                <CheckBox Margin="71,10,69,9" Name="chkLogin" TabIndex="19">Enable Login</CheckBox>
            </Grid>
        </GroupBox>
        <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,186,6" Name="btnSave" VerticalAlignment="Bottom" Width="87" IsDefault="True">Save Changes</Button>
        <Button Height="22.8" HorizontalAlignment="Right" Margin="0,0,3,6" Name="btnCancel" VerticalAlignment="Bottom" Width="75" IsCancel="True">Cancel</Button>
    </Grid>
</Window>
